<template>
  <div class="indexpage">
        <!-- 调用公共头部组件 -->
        <AdminHeaderCom/>

        <!-- 主题 -->
        <main>
          <!-- 左侧：公共导航栏组件 -->
          <AdminAsideCom/>
          <!-- 右侧:根据路由地址加载其他功能的组件 -->
          <div>
          <router-view></router-view>
          </div>
        </main>
  </div>
</template>

<script setup>
import AdminAsideCom from "@/components/admin/public/AdminAsideCom.vue";
import AdminHeaderCom from "@/components/admin/public/AdminHeaderCom.vue";






</script>

<style scoped>
.indexpage{
  width: 100%;
  height: 98vh;
  overflow: hidden;
}
.indexpage main{
  width: 100%;
  height: 80vh;
  display: flex;
  background-color: rgba(0, 0, 0, 0.5);
}
</style>